package com.andy.nicefi.dao;

import java.util.List;

import com.andy.nicefi.bean.BaseEntity;

public interface IDAO<T extends BaseEntity> {

	public void save(T instance);
	public void update(T instance);
	public List<T> list();
	public T getObjbyId(String id);
	public void delete(T instance);
	public void delete(String id);
	
	public boolean exist(String hql);
	public T getValue(String hql);
}
